package com.wxh.bomb.httpserver.servlet;

import com.wxh.bomb.httpserver.server.Request;
import com.wxh.bomb.httpserver.server.Response;
import com.wxh.bomb.httpserver.server.Servlet;

public class RegisterServlet extends Servlet {

	@Override
	public void doGet(Request req, Response rep) throws Exception {
		
	}
	
	
	@Override
	public void doPost(Request req,Response rep) throws Exception {
		rep.println("<html><head><title>返回注册</title>");
		rep.println("</head><body>");
		rep.println("你的用户名为:"+req.getParameter("name"));
		rep.println("</body></html>");
	}

}
